package com.bocloud.cmp.model;

import java.util.List;

public class ClusterModel {

	private String name;
	private Long cpuTotal;
	private Long memTotal;
	private Long diskTotal;
	private Long cpuUsed;
	private Long memUsed;
	private Long diskUsed;
	private List<HostModel> hosts;
	private Integer hostNum;// 集群中宿主机数量
	private Integer vmNum;// 集群中虚拟机数量
	private Integer templateNum;// 集群中模板数量
	private Integer cpuCore; // 集群中cpu核数
	private String remark; // 描述
	private String clusterVal;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the cpuTotal
	 */
	public Long getCpuTotal() {
		return cpuTotal;
	}

	/**
	 * @param cpuTotal
	 *            the cpuTotal to set
	 */
	public void setCpuTotal(Long cpuTotal) {
		this.cpuTotal = cpuTotal;
	}

	/**
	 * @return the memTotal
	 */
	public Long getMemTotal() {
		return memTotal;
	}

	/**
	 * @param memTotal
	 *            the memTotal to set
	 */
	public void setMemTotal(Long memTotal) {
		this.memTotal = memTotal;
	}

	/**
	 * @return the diskTotal
	 */
	public Long getDiskTotal() {
		return diskTotal;
	}

	/**
	 * @param diskTotal
	 *            the diskTotal to set
	 */
	public void setDiskTotal(Long diskTotal) {
		this.diskTotal = diskTotal;
	}

	/**
	 * @return the cpuUsed
	 */
	public Long getCpuUsed() {
		return cpuUsed;
	}

	/**
	 * @param cpuUsed
	 *            the cpuUsed to set
	 */
	public void setCpuUsed(Long cpuUsed) {
		this.cpuUsed = cpuUsed;
	}

	/**
	 * @return the memUsed
	 */
	public Long getMemUsed() {
		return memUsed;
	}

	/**
	 * @param memUsed
	 *            the memUsed to set
	 */
	public void setMemUsed(Long memUsed) {
		this.memUsed = memUsed;
	}

	/**
	 * @return the diskUsed
	 */
	public Long getDiskUsed() {
		return diskUsed;
	}

	/**
	 * @param diskUsed
	 *            the diskUsed to set
	 */
	public void setDiskUsed(Long diskUsed) {
		this.diskUsed = diskUsed;
	}

	/**
	 * @return the hosts
	 */
	public List<HostModel> getHosts() {
		return hosts;
	}

	/**
	 * @param hosts
	 *            the hosts to set
	 */
	public void setHosts(List<HostModel> hosts) {
		this.hosts = hosts;
	}

	public Integer getHostNum() {
		return hostNum;
	}

	public void setHostNum(Integer hostNum) {
		this.hostNum = hostNum;
	}

	public Integer getVmNum() {
		return vmNum;
	}

	public void setVmNum(Integer vmNum) {
		this.vmNum = vmNum;
	}

	public Integer getTemplateNum() {
		return templateNum;
	}

	public void setTemplateNum(Integer templateNum) {
		this.templateNum = templateNum;
	}

	/**
	 * @return the cpuCore
	 */
	public Integer getCpuCore() {
		return cpuCore;
	}

	/**
	 * @param cpucore
	 *            the cpuCore to set
	 */
	public void setCpuCore(Integer cpuCore) {
		this.cpuCore = cpuCore;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the clusterVal
	 */
	public String getClusterVal() {
		return clusterVal;
	}

	/**
	 * @param clusterVal
	 *            the clusterVal to set
	 */
	public void setClusterVal(String clusterVal) {
		this.clusterVal = clusterVal;
	}

	/**
	 * @param name
	 * @param cpuTotal
	 * @param memTotal
	 * @param diskTotal
	 * @param cpuUsed
	 * @param memUsed
	 * @param diskUsed
	 * @param hosts
	 */
	public ClusterModel(String name, Long cpuTotal, Long memTotal, Long diskTotal, Long cpuUsed, Long memUsed,
			Long diskUsed, List<HostModel> hosts, Integer hostNum, Integer vmNum, Integer templateNum, Integer cpuCore,
			String clusterVal) {
		this.name = name;
		this.cpuTotal = cpuTotal;
		this.memTotal = memTotal;
		this.diskTotal = diskTotal;
		this.cpuUsed = cpuUsed;
		this.memUsed = memUsed;
		this.diskUsed = diskUsed;
		this.hosts = hosts;
		this.hostNum = hostNum;
		this.vmNum = vmNum;
		this.templateNum = templateNum;
		this.cpuCore = cpuCore;
		this.clusterVal = clusterVal;
	}

	/**
	 * 
	 */
	public ClusterModel() {
		super();
	}
}
